<%@page pageEncoding="UTF-8" contentType="text/html" errorPage="error/errorpage.jsp"%>
<%@page import="beans.BeanTrans"%>
<jsp:useBean id="mybean" class="beans.BeanTrans" scope="request">
    <jsp:setProperty name="mybean" property="*"/>
</jsp:useBean>
<!-- VALIDADO!! :-D -->
<%
String id = session.getId();
String usuario = (String) session.getAttribute("usuario");
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
    
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="stylesheet" href="estilos/style.css" type="text/css" media="screen" charset="utf-8"/>
<script src ="ajax/scriptaculous-js-1.8.1/lib/prototype.js"  type="text/javascript" charset="utf-8"></script>
<script src ="ajax/scriptaculous-js-1.8.1/src/effects.js" type="text/javascript" charset="utf-8"></script>
<script src="ajax/ajax_utils.js" type="text/javascript" charset="utf-8"></script>
<script src="ajax/ajax_login.js" type="text/javascript" charset="utf-8"></script>
<script src="js/menu.js" type="text/javascript" charset="utf-8"></script>
<title>Erasmus Help!</title>
<!--[if IE]> <link href="estilos/style_ie.css" rel="stylesheet" type="text/css"> <![endif]-->

</head>

<body onload="ocultaSubMenu()">
	
	<jsp:include page="hidden.jsp"/>
	<div id='page_wrapper'>
	
	<jsp:include page="cabecera.jsp"/>
	
	<% if(usuario == null) { %>
			<jsp:include page="menu.jsp"/>
		<% } else { %>
			<jsp:include page="menu_user.jsp"/>
		<% } %>
	<div id='content_wrapper'>
	
	<div class='spacer'></div> 
	
	<div id='contenido'>
	
		<div id="wrapper_traductor">
	       <form action="#" id="form_traductor" onsubmit="return false;">
	  
	        <div id="divtrans">
		        <div class="tatrans">
		        	<label for="texto">Texto a traducir</label>
		        	<textarea id="texto" name="texto" rows="7" cols="35"></textarea>
		        </div>	
		        <div style="float: right">
		           	<button id="bt_trans" class="mybtn" onmouseover="goLite(this)" onmouseout="goDim(this)"
		           	onclick="procesaParametros('res_trans','form_traductor','proc_traductor.jsp', 'get');" title="Haz click para traducir">Traducir</button>
		       		<input type="reset" value="Reset" class="mybtn" onmouseover="goLite(this)" onmouseout="goDim(this)" title="Haz click para borrar el texto"/>
		       	</div>                  
	       	</div>
	        <div id="selidioma">
	        	<label for="par_idiomas">Idiomas</label><br/>
	        	<select class="tdlista" id="par_idiomas" name="par_idiomas">
	            	<option class="opcidiom" value="es_en" selected="selected">Espa&ntilde;ol - Ingl&eacute;s</option>
	                <option class="opcidiom" value="es_fr">Espa&ntilde;ol - Franc&eacute;s</option>
	                <option class="opcidiom" value="es_ge">Espa&ntilde;ol - Alem&aacute;n</option>
	                <option class="opcidiom" value="es_it">Espa&ntilde;ol - Italiano</option>
	                 <option class="opcidiom" value="en_es">Ingl&eacute;s - Espa&ntilde;ol</option>
	                 <option class="opcidiom" value="en_fr">Ingl&eacute;s - Franc&eacute;s</option>
	                 <option class="opcidiom" value="en_ge">Ingl&eacute;s - Alem&aacute;n</option>
					 <option class="opcidiom" value="en_pt">Ingl&eacute;s - Portugu&eacute;s</option>
	                 <option class="opcidiom" value="en_it">Ingl&eacute;s - Italiano</option>
	                 <option class="opcidiom" value="fr_en">Franc&eacute;s - Ingl&eacute;s</option>
	                 <option class="opcidiom" value="fr_es">Franc&eacute;s - Espa&ntilde;ol</option>
	                 <option class="opcidiom" value="fr_ge">Franc&eacute;s - Alem&aacute;n</option>
					 <option class="opcidiom" value="fr_pt">Franc&eacute;s - Portugu&eacute;s</option>
	                 <option class="opcidiom" value="fr_it">Franc&eacute;s - Italiano</option>
	                 <option class="opcidiom" value="ge_en">Alem&aacute;n - Ingl&eacute;s</option>
	                 <option class="opcidiom" value="ge_es">Alem&aacute;n - Espa&ntilde;ol</option>
	                 <option class="opcidiom" value="ge_fr">Alem&aacute;n - Franc&eacute;s</option>
					 <option class="opcidiom" value="ge_pt">Alem&aacute;n - Portugu&eacute;s</option>
	                 <option class="opcidiom" value="ge_it">Alem&aacute;n - Italiano</option>
					 <option class="opcidiom" value="pt_en">Portugu&eacute;s - Ingl&eacute;s</option>
	                 <option class="opcidiom" value="pt_es">Portugu&eacute;s - Espa&ntilde;ol</option>
	                 <option class="opcidiom" value="pt_ge">Portugu&eacute;s - Alem&aacute;n</option>
					 <option class="opcidiom" value="pt_fr">Portugu&eacute;s - Franc&eacute;s</option>
	                 <option class="opcidiom" value="pt_it">Portugu&eacute;s - Italiano</option>
	                 <option class="opcidiom" value="it_en">Italiano - Ingl&eacute;s</option>
	                 <option class="opcidiom" value="it_es">Italiano - Espa&ntilde;ol</option>
	                 <option class="opcidiom" value="it_fr">Italiano - Franc&eacute;s</option>
					 <option class="opcidiom" value="it_ge">Italiano - Alem&aacute;n</option>
	                 <option class="opcidiom" value="it_pt">Italiano - Portugu&eacute;s</option>
	              </select> 
	       </div><!-- fin sel_idioma -->
	       <div id="res_trans"></div>   
	      </form>
	 </div>
	<div class='spacer'></div>
	
	</div>
</div>
<jsp:include page="pie.html"/>
	
</div>
</body>
	
</html>

	    
